package com.corpcredit.model;

// Generated Jul 22, 2008 11:56:54 PM by Hibernate Tools 3.2.0.CR1

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Version;

/**
 * Sy generated by hbm2java
 */
@Entity
@Table(name = "sy")
public class Sy implements java.io.Serializable
{

    private Long id;
    private int version;
    private Jbqk jbqk;
    private String username;
    private String operation;
    private Date optdate;
    private long ny;
    private BigDecimal zyywsr;
    private BigDecimal zyywcb;
    private BigDecimal zyywsjjfj;
    private BigDecimal zyywlr;
    private BigDecimal qtyylr;
    private BigDecimal xsfy;
    private BigDecimal glfy;
    private BigDecimal cwfy;
    private BigDecimal lxzc;
    private BigDecimal yylr;
    private BigDecimal tzsy;
    private BigDecimal btsr;
    private BigDecimal yywsr;
    private BigDecimal yywzc;
    private BigDecimal yqndsytz;
    private BigDecimal lrze;
    private BigDecimal sds;
    private BigDecimal ssgdly;
    private BigDecimal wqrdtzss;
    private BigDecimal jlr;
    private BigDecimal ncwfplr;
    private BigDecimal yygjzrs;
    private BigDecimal qtzr;
    private BigDecimal kgfpdlr;
    private BigDecimal tqfdgjj;
    private BigDecimal tqfdgyj;
    private BigDecimal zgjljj;
    private BigDecimal tqcbjj;
    private BigDecimal tqqyfzjj;
    private BigDecimal kggdfpdlr;
    private BigDecimal yfpyxggl;
    private BigDecimal tqrygjj;
    private BigDecimal yfpptggl;
    private BigDecimal yfptggl;
    private BigDecimal zzgfdptggl;
    private BigDecimal wfplr;
    private Boolean sfjgsj;
    private String sjbm;
    private String sjsj;
    private String sjyj;

    public Sy()
    {
    }

    public Sy( Long id, long ny )
    {
        this.id = id;
        this.ny = ny;
    }

    public Sy( Long id,
               Jbqk jbqk,
               String username,
               String operation,
               Date optdate,
               long ny,
               BigDecimal zyywsr,
               BigDecimal zyywcb,
               BigDecimal zyywsjjfj,
               BigDecimal zyywlr,
               BigDecimal qtyylr,
               BigDecimal xsfy,
               BigDecimal glfy,
               BigDecimal cwfy,
               BigDecimal lxzc,
               BigDecimal yylr,
               BigDecimal tzsy,
               BigDecimal btsr,
               BigDecimal yywsr,
               BigDecimal yywzc,
               BigDecimal yqndsytz,
               BigDecimal lrze,
               BigDecimal sds,
               BigDecimal ssgdly,
               BigDecimal wqrdtzss,
               BigDecimal jlr,
               BigDecimal ncwfplr,
               BigDecimal yygjzrs,
               BigDecimal qtzr,
               BigDecimal kgfpdlr,
               BigDecimal tqfdgjj,
               BigDecimal tqfdgyj,
               BigDecimal zgjljj,
               BigDecimal tqcbjj,
               BigDecimal tqqyfzjj,
               BigDecimal kggdfpdlr,
               BigDecimal yfpyxggl,
               BigDecimal tqrygjj,
               BigDecimal yfpptggl,
               BigDecimal yfptggl,
               BigDecimal zzgfdptggl,
               BigDecimal wfplr,
               Boolean sfjgsj,
               String sjbm,
               String sjsj,
               String sjyj )
    {
        this.id = id;
        this.jbqk = jbqk;
        this.username = username;
        this.operation = operation;
        this.optdate = optdate;
        this.ny = ny;
        this.zyywsr = zyywsr;
        this.zyywcb = zyywcb;
        this.zyywsjjfj = zyywsjjfj;
        this.zyywlr = zyywlr;
        this.qtyylr = qtyylr;
        this.xsfy = xsfy;
        this.glfy = glfy;
        this.cwfy = cwfy;
        this.lxzc = lxzc;
        this.yylr = yylr;
        this.tzsy = tzsy;
        this.btsr = btsr;
        this.yywsr = yywsr;
        this.yywzc = yywzc;
        this.yqndsytz = yqndsytz;
        this.lrze = lrze;
        this.sds = sds;
        this.ssgdly = ssgdly;
        this.wqrdtzss = wqrdtzss;
        this.jlr = jlr;
        this.ncwfplr = ncwfplr;
        this.yygjzrs = yygjzrs;
        this.qtzr = qtzr;
        this.kgfpdlr = kgfpdlr;
        this.tqfdgjj = tqfdgjj;
        this.tqfdgyj = tqfdgyj;
        this.zgjljj = zgjljj;
        this.tqcbjj = tqcbjj;
        this.tqqyfzjj = tqqyfzjj;
        this.kggdfpdlr = kggdfpdlr;
        this.yfpyxggl = yfpyxggl;
        this.tqrygjj = tqrygjj;
        this.yfpptggl = yfpptggl;
        this.yfptggl = yfptggl;
        this.zzgfdptggl = zzgfdptggl;
        this.wfplr = wfplr;
        this.sfjgsj = sfjgsj;
        this.sjbm = sjbm;
        this.sjsj = sjsj;
        this.sjyj = sjyj;
    }

    @Id
    @Column(name = "ID", unique = true, nullable = false)
    @GeneratedValue(strategy=GenerationType.AUTO)
    public Long getId()
    {
        return this.id;
    }

    public void setId( Long id )
    {
        this.id = id;
    }

    @Version
    @Column(name = "version", nullable = false)
    public int getVersion()
    {
        return this.version;
    }

    public void setVersion( int version )
    {
        this.version = version;
    }

    @ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "jbq_ID")
    public Jbqk getJbqk()
    {
        return this.jbqk;
    }

    public void setJbqk( Jbqk jbqk )
    {
        this.jbqk = jbqk;
    }

    @Column(name = "username", length = 50)
    public String getUsername()
    {
        return this.username;
    }

    public void setUsername( String username )
    {
        this.username = username;
    }

    @Column(name = "operation", length = 20)
    public String getOperation()
    {
        return this.operation;
    }

    public void setOperation( String operation )
    {
        this.operation = operation;
    }

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "optdate", length = 23)
    public Date getOptdate()
    {
        return this.optdate;
    }

    public void setOptdate( Date optdate )
    {
        this.optdate = optdate;
    }

    @Column(name = "ny", nullable = false)
    public long getNy()
    {
        return this.ny;
    }

    public void setNy( long ny )
    {
        this.ny = ny;
    }

    @Column(name = "zyywsr", precision = 18)
    public BigDecimal getZyywsr()
    {
        return this.zyywsr;
    }

    public void setZyywsr( BigDecimal zyywsr )
    {
        this.zyywsr = zyywsr;
    }

    @Column(name = "zyywcb", precision = 18)
    public BigDecimal getZyywcb()
    {
        return this.zyywcb;
    }

    public void setZyywcb( BigDecimal zyywcb )
    {
        this.zyywcb = zyywcb;
    }

    @Column(name = "zyywsjjfj", precision = 18)
    public BigDecimal getZyywsjjfj()
    {
        return this.zyywsjjfj;
    }

    public void setZyywsjjfj( BigDecimal zyywsjjfj )
    {
        this.zyywsjjfj = zyywsjjfj;
    }

    @Column(name = "zyywlr", precision = 18)
    public BigDecimal getZyywlr()
    {
        return this.zyywlr;
    }

    public void setZyywlr( BigDecimal zyywlr )
    {
        this.zyywlr = zyywlr;
    }

    @Column(name = "qtyylr", precision = 18)
    public BigDecimal getQtyylr()
    {
        return this.qtyylr;
    }

    public void setQtyylr( BigDecimal qtyylr )
    {
        this.qtyylr = qtyylr;
    }

    @Column(name = "xsfy", precision = 18)
    public BigDecimal getXsfy()
    {
        return this.xsfy;
    }

    public void setXsfy( BigDecimal xsfy )
    {
        this.xsfy = xsfy;
    }

    @Column(name = "glfy", precision = 18)
    public BigDecimal getGlfy()
    {
        return this.glfy;
    }

    public void setGlfy( BigDecimal glfy )
    {
        this.glfy = glfy;
    }

    @Column(name = "cwfy", precision = 18)
    public BigDecimal getCwfy()
    {
        return this.cwfy;
    }

    public void setCwfy( BigDecimal cwfy )
    {
        this.cwfy = cwfy;
    }

    @Column(name = "lxzc", precision = 18)
    public BigDecimal getLxzc()
    {
        return this.lxzc;
    }

    public void setLxzc( BigDecimal lxzc )
    {
        this.lxzc = lxzc;
    }

    @Column(name = "yylr", precision = 18)
    public BigDecimal getYylr()
    {
        return this.yylr;
    }

    public void setYylr( BigDecimal yylr )
    {
        this.yylr = yylr;
    }

    @Column(name = "tzsy", precision = 18)
    public BigDecimal getTzsy()
    {
        return this.tzsy;
    }

    public void setTzsy( BigDecimal tzsy )
    {
        this.tzsy = tzsy;
    }

    @Column(name = "btsr", precision = 18)
    public BigDecimal getBtsr()
    {
        return this.btsr;
    }

    public void setBtsr( BigDecimal btsr )
    {
        this.btsr = btsr;
    }

    @Column(name = "yywsr", precision = 18)
    public BigDecimal getYywsr()
    {
        return this.yywsr;
    }

    public void setYywsr( BigDecimal yywsr )
    {
        this.yywsr = yywsr;
    }

    @Column(name = "yywzc", precision = 18)
    public BigDecimal getYywzc()
    {
        return this.yywzc;
    }

    public void setYywzc( BigDecimal yywzc )
    {
        this.yywzc = yywzc;
    }

    @Column(name = "yqndsytz", precision = 18)
    public BigDecimal getYqndsytz()
    {
        return this.yqndsytz;
    }

    public void setYqndsytz( BigDecimal yqndsytz )
    {
        this.yqndsytz = yqndsytz;
    }

    @Column(name = "lrze", precision = 18)
    public BigDecimal getLrze()
    {
        return this.lrze;
    }

    public void setLrze( BigDecimal lrze )
    {
        this.lrze = lrze;
    }

    @Column(name = "sds", precision = 18)
    public BigDecimal getSds()
    {
        return this.sds;
    }

    public void setSds( BigDecimal sds )
    {
        this.sds = sds;
    }

    @Column(name = "ssgdly", precision = 18)
    public BigDecimal getSsgdly()
    {
        return this.ssgdly;
    }

    public void setSsgdly( BigDecimal ssgdly )
    {
        this.ssgdly = ssgdly;
    }

    @Column(name = "wqrdtzss", precision = 18)
    public BigDecimal getWqrdtzss()
    {
        return this.wqrdtzss;
    }

    public void setWqrdtzss( BigDecimal wqrdtzss )
    {
        this.wqrdtzss = wqrdtzss;
    }

    @Column(name = "jlr", precision = 18)
    public BigDecimal getJlr()
    {
        return this.jlr;
    }

    public void setJlr( BigDecimal jlr )
    {
        this.jlr = jlr;
    }

    @Column(name = "ncwfplr", precision = 18)
    public BigDecimal getNcwfplr()
    {
        return this.ncwfplr;
    }

    public void setNcwfplr( BigDecimal ncwfplr )
    {
        this.ncwfplr = ncwfplr;
    }

    @Column(name = "yygjzrs", precision = 18)
    public BigDecimal getYygjzrs()
    {
        return this.yygjzrs;
    }

    public void setYygjzrs( BigDecimal yygjzrs )
    {
        this.yygjzrs = yygjzrs;
    }

    @Column(name = "qtzr", precision = 18)
    public BigDecimal getQtzr()
    {
        return this.qtzr;
    }

    public void setQtzr( BigDecimal qtzr )
    {
        this.qtzr = qtzr;
    }

    @Column(name = "kgfpdlr", precision = 18)
    public BigDecimal getKgfpdlr()
    {
        return this.kgfpdlr;
    }

    public void setKgfpdlr( BigDecimal kgfpdlr )
    {
        this.kgfpdlr = kgfpdlr;
    }

    @Column(name = "tqfdgjj", precision = 18)
    public BigDecimal getTqfdgjj()
    {
        return this.tqfdgjj;
    }

    public void setTqfdgjj( BigDecimal tqfdgjj )
    {
        this.tqfdgjj = tqfdgjj;
    }

    @Column(name = "tqfdgyj", precision = 18)
    public BigDecimal getTqfdgyj()
    {
        return this.tqfdgyj;
    }

    public void setTqfdgyj( BigDecimal tqfdgyj )
    {
        this.tqfdgyj = tqfdgyj;
    }

    @Column(name = "zgjljj", precision = 18)
    public BigDecimal getZgjljj()
    {
        return this.zgjljj;
    }

    public void setZgjljj( BigDecimal zgjljj )
    {
        this.zgjljj = zgjljj;
    }

    @Column(name = "tqcbjj", precision = 18)
    public BigDecimal getTqcbjj()
    {
        return this.tqcbjj;
    }

    public void setTqcbjj( BigDecimal tqcbjj )
    {
        this.tqcbjj = tqcbjj;
    }

    @Column(name = "tqqyfzjj", precision = 18)
    public BigDecimal getTqqyfzjj()
    {
        return this.tqqyfzjj;
    }

    public void setTqqyfzjj( BigDecimal tqqyfzjj )
    {
        this.tqqyfzjj = tqqyfzjj;
    }

    @Column(name = "kggdfpdlr", precision = 18)
    public BigDecimal getKggdfpdlr()
    {
        return this.kggdfpdlr;
    }

    public void setKggdfpdlr( BigDecimal kggdfpdlr )
    {
        this.kggdfpdlr = kggdfpdlr;
    }

    @Column(name = "yfpyxggl", precision = 18)
    public BigDecimal getYfpyxggl()
    {
        return this.yfpyxggl;
    }

    public void setYfpyxggl( BigDecimal yfpyxggl )
    {
        this.yfpyxggl = yfpyxggl;
    }

    @Column(name = "tqrygjj", precision = 18)
    public BigDecimal getTqrygjj()
    {
        return this.tqrygjj;
    }

    public void setTqrygjj( BigDecimal tqrygjj )
    {
        this.tqrygjj = tqrygjj;
    }

    @Column(name = "yfpptggl", precision = 18)
    public BigDecimal getYfpptggl()
    {
        return this.yfpptggl;
    }

    public void setYfpptggl( BigDecimal yfpptggl )
    {
        this.yfpptggl = yfpptggl;
    }

    @Column(name = "yfptggl", precision = 18)
    public BigDecimal getYfptggl()
    {
        return this.yfptggl;
    }

    public void setYfptggl( BigDecimal yfptggl )
    {
        this.yfptggl = yfptggl;
    }

    @Column(name = "zzgfdptggl", precision = 18)
    public BigDecimal getZzgfdptggl()
    {
        return this.zzgfdptggl;
    }

    public void setZzgfdptggl( BigDecimal zzgfdptggl )
    {
        this.zzgfdptggl = zzgfdptggl;
    }

    @Column(name = "wfplr", precision = 18)
    public BigDecimal getWfplr()
    {
        return this.wfplr;
    }

    public void setWfplr( BigDecimal wfplr )
    {
        this.wfplr = wfplr;
    }

    @Column(name = "sfjgsj")
    public Boolean getSfjgsj()
    {
        return this.sfjgsj;
    }

    public void setSfjgsj( Boolean sfjgsj )
    {
        this.sfjgsj = sfjgsj;
    }

    @Column(name = "sjbm", length = 50)
    public String getSjbm()
    {
        return this.sjbm;
    }

    public void setSjbm( String sjbm )
    {
        this.sjbm = sjbm;
    }

    @Column(name = "sjsj", length = 20)
    public String getSjsj()
    {
        return this.sjsj;
    }

    public void setSjsj( String sjsj )
    {
        this.sjsj = sjsj;
    }

    @Column(name = "sjyj", length = 50)
    public String getSjyj()
    {
        return this.sjyj;
    }

    public void setSjyj( String sjyj )
    {
        this.sjyj = sjyj;
    }

}
